use std::process::Command;
fn main() {
    let file_path = "C:/Users/33153/Desktop/oCam.exe";

    // 使用 cmd /c 调用 oCam.exe
    let output = Command::new("cmd")
        .args(&["/c", "start", file_path])
        .output();

    match output {
        Ok(_) => println!("Executed successfully"),
        Err(e) => eprintln!("command.Run() failed with {}", e),
    }
}